package com.gd.coreservice.service;

import com.gd.coreservice.entity.UserLeave;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2024-03-23
 */
public interface UserLeaveService extends IService<UserLeave> {

    boolean insertLeave(String uid, String gid, String lmessage);

    Integer deleteLeave(String lid, String uid);

    Map<String, Object> getUserLeavePageData(Integer pageNum, Integer pageSize, String gid);

    Map<String, Object> getUserLeavePageDataUid(Integer pageNum, Integer pageSize, String uid);
}
